#include "Interactiv_BIM/Interactiv_BIMPublic.h"
#include "OsgExTool/OSGUniverseTool.h"
//
EffectsText::EffectsText()
{

}

EffectsText::~EffectsText()
 {

 }

void EffectsText::setOrtho(int w, int h)
{
	mWidth = w ;
	mHeight = h;
}

void EffectsText::init()
{
	mCamera = OSGUniverseTool::createTextHUD(mTextDrawable);
	mCamera->setProjectionMatrixAsOrtho();
	addChild(mCamera);
}

osg::ref_ptr<osgText::Text> EffectsText::getText()
{
	return mTextDrawable;
}






